<div id="menu1">
</div><div id="menu_content">
    <ul id="nav" class="dropdown dropdown-horizontal">
		<?php for($i=0;$i<count($menus);$i++) : ?>
			<?php $menu = $menus[$i]; ?>
			<?php if ($menu->PARENT_MENU == null): ?>
				<?php if ($menu->path != null): ?>
                    <li><a href="<?php echo base_url(); ?>index.php/<?php echo $menu->path; ?>"><?php echo $menu->Name; ?></a>
					<?php $menuID = $menus[$i]->ID; ?>
                <?php else: ?> 
                    <li><a href="" onclick="return false"><?php echo $menu->Name; ?></a>
					<?php $menuID = $menus[$i]->ID; ?>
                <?php endif; ?>
			<?php else: ?>
				<ul id="popup">
					<?php for($j=0;$j<count($menus);$j++) : ?>
						<?php $subMenu = $menus[$j]; ?>
						<?php if ($subMenu->PARENT_MENU == $menuID): ?>
							<li><a href="<?php echo base_url(); ?>index.php/<?php echo $menu->path; ?>"><?php echo $subMenu->Name ?></a>
							<?php $i = $i + 1; ?>
						<?php endif; ?>		
					<?php endfor; ?>
				</ul>
			<?php endif; ?>
		<?php endfor; ?>

       
    </ul>
</div>
<!--        <li><a href="../home">Home</a>
        <li><a href="" onclick="return false" >Administrator</a>
            <ul id="popup"> 
                <li><a href="" onclick="return false" >Approve Member</a>
		<li><a href="" onclick="return false" >Add Instruction Media</a>
            </ul> 
        </li>-->


<div id="menu2">
</div>



</div>
<div id="languageFlag">
</div>
</div>
<div id="bodyContent">
  <div id="headerLabel">
    <div class="HeaderCaption"></div>
  </div>


</div>
